@extends('admin::layouts.master')
@section('title')
    订单列表
@endsection
@section('tab')

    <!-- 顶部开始 -->
    @include('admin::layouts.base_top')
    <!-- 顶部结束 -->

    <!-- 中部开始 -->
    <!-- 左侧菜单开始 -->
    @include('admin::layouts.base_left_menu')
    <!-- 左侧菜单结束 -->

    <!-- 右侧主体开始 -->
    @include('admin::layouts.base_main')
    <!-- 右侧主体结束 -->
    <!-- 中部结束 -->

    <ul class="layui-fixbar">
        <div id="rcs_app"></div>
    </ul>
    <script>
        (function(){
            var appKey = "pwe86ga5p9wp6";
            var token = 'tuRvTtNB1W99LlskYp3ody20eR8HcuYXYFdiBfyrCV0mOC+8sTIGJpOLlV5ONaET@dor0.cn.rongnav.com;dor0.cn.rongcfg.com';

            RCS.init({
                appKey: appKey,
                token: token,
                target: document.getElementById('rcs_app'),
                showConversitionList: true,
                templates: {
                    button: ['<div class="rongcloud-consult rongcloud-im-consult">',
                        '   <button onclick="RCS.showCommon()"><span class="rongcloud-im-icon">未读</span><span id="all_no_read_num"></span></button>',
                        '</div>',
                        '<div class="customer-service" style="display: none;"></div>'].join('')//"templates/button.html",
                }
            });
        })();


    </script>

@endsection
